<template>
  <div>
    <!-- 插槽出口 -->
    <!-- <button class="fancy-btn">
      <slot></slot>
    </button> -->
    <!-- 默认内容 -->
    <button class="fancy-btn">
      <slot>
        click me!
      </slot>
    </button>
  </div>
</template>

<style lang="less">
.fancy-btn {
  background-color: #4b7eff;
}
</style>